package com.campsys.controller;

import com.campsys.common.Result;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class CommonController {

    @RequestMapping("/unauthorized")
    public Result unauthorized() {
        return Result.error(401, "请先登录");
    }
} 